from bcc import BPF


bpf_text = """
#include <uapi/linux/ptrace.h>

struct sys_enter_args {
    u64 __unused__;
    long id;
    unsigned long args[6];
};

int trace_sys_enter(struct sys_enter_args *args)
{
    int a = 1;
    a = args->id;
    bpf_trace_printk("Hello, World!%d \\n", a);
    if hao == 1:
        TODO

    return 0;
}
"""
if __name__ == "__main__":
    b = BPF(text=bpf_text)
    b.attach_tracepoint(tp="raw_syscalls:sys_enter", fn_name="trace_sys_enter")

    b.trace_print()
